package assignment1;

public class PairKeyWord {
	private String key;
	private String word;
	
	public PairKeyWord(){
	}
	
	
	public PairKeyWord(String _key, String _word){
		setKey(_key);
		setWord(_word);
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getWord() {
		return word;
	}

	public void setWord(String word) {
		this.word = word;
	}
	
	public Boolean IsSameKey(PairKeyWord obj){
		if(this.key == obj.key){
			return true;
		}
		return false;
	}
	
}
